home *** CD-ROM | disk | FTP | other *** search
- EGACLR.COM
- Ver. 1.2, Feb 27, 1986
- Part of the ENHANCER series of programs EGACLR.COM
-
- Copyright (C) I. B. Miller 1985, 1986
-
- If you find this of value and use it please send $25 to
- Enhancers, 231 Otonabee Ave., Willowdale, Ontario, Canada M2M-2S9
-
- EGACLR is a program which Controls the seventeen palette registers
- on the enhanced color card ( Enhanced Graphics Adapter), 12
- different user selected color combinations of any 16 of the 64
- colors available can be made active by use of the Alt key at the
- same time as any of the number keys 1 to = at the top of the qwerty
- keyboard.
-
- EGACLR changes to your set of colors whenever a video reset occurs.
- This defeats the revisionist tendencies of most programs which reset
- colors to standard and then use black and white instead of your
- choice of colors.
-
- Because some programs such as LOTUS Development's drivers for 123
- and Symphony use proper techniques to change colors but end up with
- what I and many other users consider a poor choice of colors I wrote
- this program to at the users option to reset colors when anyone but
- itself changes colors in the EGA registers. The parameter 'o' in
- the command line can disable the auto reset feature when another
- program which in your opinion does a good job of colors is run.
- Auto reset is then enabled at the next command given to EGACLR.
-
- A companion program EGACHG.COM provides a means to select 12 preset
- color combinations and save them in EGACLR so that they are
- available the next time you run EGACLR.
-
- The actual colors available to you depend on your actual hardware
- set up and so may be different. As an example if you have only a
- regular monitor you will have only standard colors though you will
- be able to swap them around. In my experience THE limiting factor
- for text display is the monitor. Though for graphic display memory
- size is also a limiting factor.
-
- Note that some other programs such as SIDEKICK also work by
- borrowing or stealing vectors. This program and such others are
- usually compatible but in case of difficulty the order in which they
- are called up can be important as in the case of SIDEKICK where
- EGACLR must be called first. It must be remembered that in such
- cases EGACLR acheives compatability by surrendering its vector to
- the other and may no longer be working fully or at all. As an
- example POLYCOM-240 takes the keyboard unto itself to emulate a
- VT-100 and doesn't pass keystrokes to EGACLR but when we leave
- POLYCOM-240 EGACLR is again active.
-
- A parameter line is also available to change the colors in <Alt 1>
- on the fly. Its use is described below.
-
- Syntax is: EGACLR r,PHH,PHH,PHH,sHH,o
- ----------
- r means reset to standard colors ( letter r )
- , indicates another palette color change is coming
- P is any hex digit (0-F) to indicate the desired palette register
- #, up to the full 16 palette registers may be set this way.
- s means the overscan or border ( letter s )
- (Not useable in enhanced mode - temporarily fouls up display.)
- o means turn off the auto-resetting action ( letter o )
- HH is the color to be used (MUST be 2 HEX-digits
-
- Regular Monitor -
-
- The default gives standard colors on the enhanced monitor - you must
- set the high intensity colors for the regular monitor following
- rules below.
-
- If you have a regular monitor the card will give regular colors only
- but while 8 to F are NORMALLY high intensity versions of 0 to 7 the
- EGA must have a 1 put in to get high intensity. - A is bright green
- on regular card but on the EGA bright green is 1A or 12 - similar
- for 0E and 1E or 16 etc.
-
-
-
-
-
-
- EGACLR page 2
-
-
- I suspect that it has to do with the fact that when operating with a
- regular monitor the card ignores bits to define other colors and
- just uses those which define the standard set of 8, then it looks to
- the high digit and looks only at the 1 bit to pick high intensity.
-
- (For a chart of EGA color codes, see the file EGACHG.DOC.)
-
- Sample command: (Easiest to use from a batch file as remembering
- colors is difficult EGACHG.COM will set up batch files for this
- purpose.)
- EGACLR 001,212,717,916
- (this choice is for a regular monitor)
-
- to set up the palettes to get decent colors with the 3278/79 emulate
- card - change as desired to have different colors in place of
- standard.
-
- This says change 0 or Black background to 01 or Blue background
- 2 or Dark Green to 12 or Light Green
- 7 or White * to 17 or High intensity White
- 9 or Light Blue ** to 16 or Light Yellow
-
-
- Disclaimer
- ----------
- For obvious reasons the user is totally responsible for use of this
- program and determining that it is suitable for use by him, and he
- uses this program with no warranty from myself.
-
- It should work properly with the EGA from IBM or any card which
- later maintains compatibility with it
-
- This program is used by myself with LOTUS Development programs and
- works well solving a colors shift bug (or less than perfect EGA
- driver routine) but obviously LOTUS does not support it.
-
- General
- --------
- The official standard color palettes are:
-
- 0. Black 8. grey
- 1. Blue 9. Light Blue
- 2. Green A. light Green
- 3. Cyan B. Light Cyan
- 4. Red C. light Red
- 5. Magenta D. Light Magenta
- 6. Brown E. Yellow
- 7. White F. bright White
-
- You might want to try some of the following to replace any of the
- standard colors - example uses the 0 or normally Black Palette.
-
- 10 - a beautiful deep green "EGACLR 010"
- 08 - a very deep blue "EGACLR 008"
- 20 - a very deep red "EGACLR 020"
- 34 - an orangish salmon "EGACLR 034"
- 25 - a hot pink "EGACLR 025"
-
- Again please note that if you have the regular monitor or the
- Enhanced Monitor operating in regular mode none of the above
- non-standard colors are available to you!
-
-
- Of Course
- ----------
- The program EGACHG.COM will allow you to work with many colors and
- see them on screen interactively without any of the work involved in
- remembering all these numbers and color coding schemes. I believe
- it will make color control easy.
-
-